import numpy as np

num = 0
for i in range(1,101):
    num += i
print(num)

a = [i for i in range(1,101)]
print(sum(a))
